[?php use_helper('I18N', 'Date') ?]
[?php include_partial('<?php echo $this->getModuleName() ?>/assets') ?]

<div id="sf_admin_container">
  <h1>[?php echo (method_exists($form, 'getTitle') ? __($form->getTitle()) : <?php echo $this->getI18NString('edit.title') ?>) ?]</h1>

  [?php include_partial('<?php echo $this->getModuleName() ?>/flashes') ?]

  [?php include_partial('<?php echo $this->getModuleName() ?>/cart_batch_form_slot_actions', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'form' => $form, 'helper' => $helper, 'cart_objects' => $cart_objects)) ?]

  <div id="sf_admin_header">
    [?php include_partial('<?php echo $this->getModuleName() ?>/cart_form_header', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'form' => $form, 'configuration' => $configuration)) ?]
  </div>

  <div id="sf_admin_content">
    [?php include_partial('<?php echo $this->getModuleName() ?>/cart_form', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper, 'form_action' => 'cartBatchFormActionUpdate')) ?]
  </div>

  <div id="sf_admin_footer">
    [?php include_partial('<?php echo $this->getModuleName() ?>/cart_form_footer', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper)) ?]
  </div>
</div>

<?php if ($this->configuration->getValue('cart.tabs.present', false)): ?>
[?php include_partial('<?php echo $this->getModuleName() ?>/tabs', array('toggle_visible_label' => '<?php echo $this->configuration->getValue('cart.tabs.toggle_visible_label', 'Show tabs') ?>', 'toggle_hidden_label' => '<?php echo $this->configuration->getValue('cart.tabs.toggle_hidden_label', 'Hide tabs') ?>')) ?]
<?php endif; ?>
